# Contributor: David Demelier <markand@malikania.fr>
# Maintainer: David Demelier <markand@malikania.fr>
pkgname=libretro-atari800
pkgver=0_git20200320
pkgrel=0
_commit="2322284eda10f565e67272ee93c785e1fe5c6887"
pkgdesc="atari800 3.1.0 for libretro/libco"
url="https://github.com/libretro/libretro-atari800"
arch="all"
license="GPL-2.0-only"
makedepends="zlib-dev"
source="$pkgname-$_commit.tar.gz::https://github.com/libretro/libretro-atari800/archive/$_commit.tar.gz"
builddir="$srcdir/libretro-atari800-$_commit"
options="!check" # No tests

build() {
	make
}

package() {
	install -Dm644 atari800_libretro.so "$pkgdir"/usr/lib/libretro/atari800_libretro.so
}

sha512sums="4ab826f56cbd99d9b3266c8bba0133827b78ac6cb35a3a529437480cae3ceb9273b59e19baf11f1ee778b6c6057c2fbc87f2ab825a2d2cd6fb337a059028d11b  libretro-atari800-2322284eda10f565e67272ee93c785e1fe5c6887.tar.gz"
